Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update Lua include #581

Merged
merged 1 commit into from
Apr 30, 2024
Merged

update Lua include #581

merged 1 commit into from
Apr 30, 2024

Conversation

salix5
Copy link
Collaborator

@salix5 salix5 commented Apr 29, 2024

C++14
16.2 Source file inclusion
A preprocessing directive of the form
#include < h-char-sequence> new-line
searches a sequence of implementation-defined places for a header identified uniquely by the specified sequence between the < and > delimiters, and causes the replacement of that directive by the entire contents of the header. How the places are specified or the header identified is implementation-defined.

A preprocessing directive of the form
#include " q-char-sequence" new-line
causes the replacement of that directive by the entire contents of the source file identified by the specified sequence between the " delimiters. The named source file is searched for in an implementation-defined manner.

If this search is not supported, or if the search fails, the directive is reprocessed as if it read
#include < h-char-sequence> new-line
with the identical contained sequence (including > characters, if any) from the original directive.

https://learn.microsoft.com/en-us/cpp/preprocessor/hash-include-directive-c-cpp?view=msvc-170

@purerosefallen
Copy link
Collaborator

We need to test it on Windows + Linux + Mac

@salix5
Copy link
Collaborator Author

salix5 commented Apr 29, 2024

We need to test it on Windows + Linux + Mac

tested on Windows
Maybe you can test it on Linux and Mac.

@Wind2009-Louse
Copy link
Contributor

ci build passed on Linux and macos

@salix5 salix5 merged commit 7c07b01 into master Apr 30, 2024
1 check passed
@salix5 salix5 deleted the patch-include branch April 30, 2024 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants